/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Beans;

/**
 *
 * @author Venus
 */
public class MonAn {
    private int MaMA;
    private int MaNN;
    private int MaLMA;
    private String TenMA;
    private String TenMAVT;
    private int MaNMA;
    private String MoTa;
    private byte CoPhucVu;
    public MonAn(){
        MaMA = 0;
        MaNN = 0;
        MaLMA = 0;
        TenMA = "";
        TenMAVT = "";
        MaNMA = 0;
        MoTa = "";
        CoPhucVu = 0;
    }
    public void setMaMA (int value){
        MaMA = value;
    }
    public int getMaMA(){
        return MaMA;
    }
    public void setMaNN (int value){
        MaNN = value;
    }
    public int getMaNN(){
        return MaNN;
    }
    public void setMaLMA (int value){
        MaLMA = value;
    }
    public int getMaLMA(){
        return MaLMA;
    }
    public void setTenMA (String value){
        if(value == null)
            value = "";
        TenMA = value;
    }
    public String getTenMA(){
        return TenMA;
    }
    public void setTenMAVT (String value){
        if(value == null)
            value = "";
        TenMAVT = value;
    }
    public String getTenMAVT(){
        return TenMAVT;
    }
    public void setMaNMA (int value){
        MaNMA = value;
    }
    public int getMaNMA(){
        return MaNMA;
    }
    public void setMoTa (String value){
        if(value == null)
            value = "";
        MoTa = value;
    }
    public String getMoTa(){
        return MoTa;
    }
    public void setCoPhucVu (byte value){
        CoPhucVu = value;
    }
    public byte getCoPhucVu(){
        return CoPhucVu;
    }

}
